#include <scdl/parser/Symbol.hpp>

#include <cstdlib>
#include <cstring>
#include <iostream>

using std::cout;
using namespace scdl;

Type::Type()
{
}

Type::~Type()
{
}

SymbolCategory Type::getCategory()
{
        return CATEGORY_TYPE;
}

void Type::prettyPrint(bool verbose)
{
        cout << name;
        if (verbose && type) {
                cout << " : ";
                type->prettyPrint();
        }
}